/**
 * 
 */
package com.aihwcm.service;

import java.util.List;

import com.aihwcm.entity.Aihtemplates;

/**
 * @author francisli
 *
 */
public interface TemplateManageService {

	public void addtemplate(Aihtemplates template);

	public int count();

	public List<Aihtemplates> listpage(int offset, int limit);

	public Aihtemplates edittemplate(Integer id);

	public void deltemplate(Integer id);

	public List<Aihtemplates> alltemplate();
	public int count(String search);

	public List<Aihtemplates> listpage(int offset, int limit, String search);
}
